﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using DBLibrary;

[DataObject]
public class BillDB
{
    private DB mDB;
	public BillDB()
	{
        mDB = PoseidonDBHelper.UserDB;
	}

    [DataObjectMethod(DataObjectMethodType.Select, true)]
    public List<BillDetail> GetBills()
    {
        return mDB.Select<BillDetail>();
    }
}